home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2000 January / Macworld (2000-01).dmg / 1999 Games Hall of Fame / Unreal Tournament Demo.sea / Unreal Tournament Demo / System / BotPack.u / Bot_FontInfo_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-10-20  |  4.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 56 42 63 6c 61 73 73 20 |........|VBclass |
|00000010| 46 6f 6e 74 49 6e 66 6f | 20 65 78 70 61 6e 64 73 |FontInfo| expands|
|00000020| 20 49 6e 66 6f 3b 0d 0a | 0d 0a 76 61 72 20 66 6c | Info;..|..var fl|
|00000030| 6f 61 74 20 53 61 76 65 | 64 57 69 64 74 68 5b 37 |oat Save|dWidth[7|
|00000040| 5d 3b 0d 0a 76 61 72 20 | 66 6f 6e 74 20 53 61 76 |];..var |font Sav|
|00000050| 65 64 46 6f 6e 74 5b 37 | 5d 3b 0d 0a 0d 0a 66 75 |edFont[7|];....fu|
|00000060| 6e 63 74 69 6f 6e 20 66 | 6f 6e 74 20 47 65 74 48 |nction f|ont GetH|
|00000070| 75 67 65 46 6f 6e 74 28 | 66 6c 6f 61 74 20 57 69 |ugeFont(|float Wi|
|00000080| 64 74 68 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 28 |dth)..{.|..if ( (|
|00000090| 53 61 76 65 64 46 6f 6e | 74 5b 36 5d 20 21 3d 20 |SavedFon|t[6] != |
|000000a0| 4e 6f 6e 65 29 20 26 26 | 20 28 57 69 64 74 68 20 |None) &&| (Width |
|000000b0| 3d 3d 20 53 61 76 65 64 | 57 69 64 74 68 5b 36 5d |== Saved|Width[6]|
|000000c0| 29 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 20 53 61 |) )....r|eturn Sa|
|000000d0| 76 65 64 46 6f 6e 74 5b | 36 5d 3b 0d 0a 0d 0a 09 |vedFont[|6];.....|
|000000e0| 53 61 76 65 64 57 69 64 | 74 68 5b 36 5d 20 3d 20 |SavedWid|th[6] = |
|000000f0| 57 69 64 74 68 3b 0d 0a | 09 53 61 76 65 64 46 6f |Width;..|.SavedFo|
|00000100| 6e 74 5b 36 5d 20 3d 20 | 47 65 74 53 74 61 74 69 |nt[6] = |GetStati|
|00000110| 63 48 75 67 65 46 6f 6e | 74 28 57 69 64 74 68 29 |cHugeFon|t(Width)|
|00000120| 3b 0d 0a 09 72 65 74 75 | 72 6e 20 53 61 76 65 64 |;...retu|rn Saved|
|00000130| 46 6f 6e 74 5b 36 5d 3b | 0d 0a 7d 0d 0a 0d 0a 73 |Font[6];|..}....s|
|00000140| 74 61 74 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 66 |tatic fu|nction f|
|00000150| 6f 6e 74 20 47 65 74 53 | 74 61 74 69 63 48 75 67 |ont GetS|taticHug|
|00000160| 65 46 6f 6e 74 28 66 6c | 6f 61 74 20 57 69 64 74 |eFont(fl|oat Widt|
|00000170| 68 29 0d 0a 7b 0d 0a 09 | 69 66 20 28 57 69 64 74 |h)..{...|if (Widt|
|00000180| 68 20 3c 20 35 31 32 29 | 0d 0a 09 09 72 65 74 75 |h < 512)|....retu|
|00000190| 72 6e 20 46 6f 6e 74 27 | 53 6d 61 6c 6c 46 6f 6e |rn Font'|SmallFon|
|000001a0| 74 27 3b 0d 0a 09 65 6c | 73 65 20 69 66 20 28 57 |t';...el|se if (W|
|000001b0| 69 64 74 68 20 3c 20 36 | 34 30 29 0d 0a 09 09 72 |idth < 6|40)....r|
|000001c0| 65 74 75 72 6e 20 46 6f | 6e 74 28 44 79 6e 61 6d |eturn Fo|nt(Dynam|
|000001d0| 69 63 4c 6f 61 64 4f 62 | 6a 65 63 74 28 22 4c 61 |icLoadOb|ject("La|
|000001e0| 64 64 65 72 46 6f 6e 74 | 73 2e 55 54 4c 61 64 64 |dderFont|s.UTLadd|
|000001f0| 65 72 31 36 22 2c 20 63 | 6c 61 73 73 27 46 6f 6e |er16", c|lass'Fon|
|00000200| 74 27 29 29 3b 0d 0a 09 | 65 6c 73 65 20 69 66 20 |t'));...|else if |
|00000210| 28 57 69 64 74 68 20 3c | 20 38 30 30 29 0d 0a 09 |(Width <| 800)...|
|00000220| 09 72 65 74 75 72 6e 20 | 46 6f 6e 74 28 44 79 6e |.return |Font(Dyn|
|00000230| 61 6d 69 63 4c 6f 61 64 | 4f 62 6a 65 63 74 28 22 |amicLoad|Object("|
|00000240| 4c 61 64 64 65 72 46 6f | 6e 74 73 2e 55 54 4c 61 |LadderFo|nts.UTLa|
|00000250| 64 64 65 72 32 30 22 2c | 20 63 6c 61 73 73 27 46 |dder20",| class'F|
|00000260| 6f 6e 74 27 29 29 3b 0d | 0a 09 65 6c 73 65 20 69 |ont'));.|..else i|
|00000270| 66 20 28 57 69 64 74 68 | 20 3c 20 31 30 32 34 29 |f (Width| < 1024)|
|00000280| 0d 0a 09 09 72 65 74 75 | 72 6e 20 46 6f 6e 74 28 |....retu|rn Font(|
|00000290| 44 79 6e 61 6d 69 63 4c | 6f 61 64 4f 62 6a 65 63 |DynamicL|oadObjec|
|000002a0| 74 28 22 4c 61 64 64 65 | 72 46 6f 6e 74 73 2e 55 |t("Ladde|rFonts.U|
|000002b0| 54 4c 61 64 64 65 72 32 | 32 22 2c 20 63 6c 61 73 |TLadder2|2", clas|
|000002c0| 73 27 46 6f 6e 74 27 29 | 29 3b 0d 0a 09 65 6c 73 |s'Font')|);...els|
|000002d0| 65 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 6f 6e 74 |e....ret|urn Font|
|000002e0| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|000002f0| 63 74 28 22 4c 61 64 64 | 65 72 46 6f 6e 74 73 2e |ct("Ladd|erFonts.|
|00000300| 55 54 4c 61 64 64 65 72 | 33 30 22 2c 20 63 6c 61 |UTLadder|30", cla|
|00000310| 73 73 27 46 6f 6e 74 27 | 29 29 3b 0d 0a 7d 0d 0a |ss'Font'|));..}..|
|00000320| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 66 6f 6e 74 20 |..functi|on font |
|00000330| 47 65 74 42 69 67 46 6f | 6e 74 28 66 6c 6f 61 74 |GetBigFo|nt(float|
|00000340| 20 57 69 64 74 68 29 0d | 0a 7b 0d 0a 09 69 66 20 | Width).|.{...if |
|00000350| 28 20 28 53 61 76 65 64 | 46 6f 6e 74 5b 35 5d 20 |( (Saved|Font[5] |
|00000360| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 57 69 64 |!= None)| && (Wid|
|00000370| 74 68 20 3d 3d 20 53 61 | 76 65 64 57 69 64 74 68 |th == Sa|vedWidth|
|00000380| 5b 35 5d 29 20 29 0d 0a | 09 09 72 65 74 75 72 6e |[5]) )..|..return|
|00000390| 20 53 61 76 65 64 46 6f | 6e 74 5b 35 5d 3b 0d 0a | SavedFo|nt[5];..|
|000003a0| 0d 0a 09 53 61 76 65 64 | 57 69 64 74 68 5b 35 5d |...Saved|Width[5]|
|000003b0| 20 3d 20 57 69 64 74 68 | 3b 0d 0a 09 53 61 76 65 | = Width|;...Save|
|000003c0| 64 46 6f 6e 74 5b 35 5d | 20 3d 20 47 65 74 53 74 |dFont[5]| = GetSt|
|000003d0| 61 74 69 63 42 69 67 46 | 6f 6e 74 28 57 69 64 74 |aticBigF|ont(Widt|
|000003e0| 68 29 3b 0d 0a 09 72 65 | 74 75 72 6e 20 53 61 76 |h);...re|turn Sav|
|000003f0| 65 64 46 6f 6e 74 5b 35 | 5d 3b 0d 0a 7d 0d 0a 0d |edFont[5|];..}...|
|00000400| 0a 73 74 61 74 69 63 20 | 66 75 6e 63 74 69 6f 6e |.static |function|
|00000410| 20 66 6f 6e 74 20 47 65 | 74 53 74 61 74 69 63 42 | font Ge|tStaticB|
|00000420| 69 67 46 6f 6e 74 28 66 | 6c 6f 61 74 20 57 69 64 |igFont(f|loat Wid|
|00000430| 74 68 29 0d 0a 7b 0d 0a | 09 69 66 20 28 57 69 64 |th)..{..|.if (Wid|
|00000440| 74 68 20 3c 20 35 31 32 | 29 0d 0a 09 09 72 65 74 |th < 512|)....ret|
|00000450| 75 72 6e 20 46 6f 6e 74 | 27 53 6d 61 6c 6c 46 6f |urn Font|'SmallFo|
|00000460| 6e 74 27 3b 0d 0a 09 65 | 6c 73 65 20 69 66 20 28 |nt';...e|lse if (|
|00000470| 57 69 64 74 68 20 3c 20 | 36 34 30 29 0d 0a 09 09 |Width < |640)....|
|00000480| 72 65 74 75 72 6e 20 46 | 6f 6e 74 28 44 79 6e 61 |return F|ont(Dyna|
|00000490| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 28 22 4c |micLoadO|bject("L|
|000004a0| 61 64 64 65 72 46 6f 6e | 74 73 2e 55 54 4c 61 64 |adderFon|ts.UTLad|
|000004b0| 64 65 72 31 36 22 2c 20 | 63 6c 61 73 73 27 46 6f |der16", |class'Fo|
|000004c0| 6e 74 27 29 29 3b 0d 0a | 09 65 6c 73 65 20 69 66 |nt'));..|.else if|
|000004d0| 20 28 57 69 64 74 68 20 | 3c 20 38 30 30 29 0d 0a | (Width |< 800)..|
|000004e0| 09 09 72 65 74 75 72 6e | 20 46 6f 6e 74 28 44 79 |..return| Font(Dy|
|000004f0| 6e 61 6d 69 63 4c 6f 61 | 64 4f 62 6a 65 63 74 28 |namicLoa|dObject(|
|00000500| 22 4c 61 64 64 65 72 46 | 6f 6e 74 73 2e 55 54 4c |"LadderF|onts.UTL|
|00000510| 61 64 64 65 72 31 38 22 | 2c 20 63 6c 61 73 73 27 |adder18"|, class'|
|00000520| 46 6f 6e 74 27 29 29 3b | 0d 0a 09 65 6c 73 65 20 |Font'));|...else |
|00000530| 69 66 20 28 57 69 64 74 | 68 20 3c 20 31 30 32 34 |if (Widt|h < 1024|
|00000540| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 6f 6e 74 |)....ret|urn Font|
|00000550| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|00000560| 63 74 28 22 4c 61 64 64 | 65 72 46 6f 6e 74 73 2e |ct("Ladd|erFonts.|
|00000570| 55 54 4c 61 64 64 65 72 | 32 30 22 2c 20 63 6c 61 |UTLadder|20", cla|
|00000580| 73 73 27 46 6f 6e 74 27 | 29 29 3b 0d 0a 09 65 6c |ss'Font'|));...el|
|00000590| 73 65 0d 0a 09 09 72 65 | 74 75 72 6e 20 46 6f 6e |se....re|turn Fon|
|000005a0| 74 28 44 79 6e 61 6d 69 | 63 4c 6f 61 64 4f 62 6a |t(Dynami|cLoadObj|
|000005b0| 65 63 74 28 22 4c 61 64 | 64 65 72 46 6f 6e 74 73 |ect("Lad|derFonts|
|000005c0| 2e 55 54 4c 61 64 64 65 | 72 32 32 22 2c 20 63 6c |.UTLadde|r22", cl|
|000005d0| 61 73 73 27 46 6f 6e 74 | 27 29 29 3b 0d 0a 7d 0d |ass'Font|'));..}.|
|000005e0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 66 6f 6e 74 |...funct|ion font|
|000005f0| 20 47 65 74 4d 65 64 69 | 75 6d 46 6f 6e 74 28 66 | GetMedi|umFont(f|
|00000600| 6c 6f 61 74 20 57 69 64 | 74 68 29 0d 0a 7b 0d 0a |loat Wid|th)..{..|
|00000610| 09 69 66 20 28 20 28 53 | 61 76 65 64 46 6f 6e 74 |.if ( (S|avedFont|
|00000620| 5b 34 5d 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |[4] != N|one) && |
|00000630| 28 57 69 64 74 68 20 3d | 3d 20 53 61 76 65 64 57 |(Width =|= SavedW|
|00000640| 69 64 74 68 5b 34 5d 29 | 20 29 0d 0a 09 09 72 65 |idth[4])| )....re|
|00000650| 74 75 72 6e 20 53 61 76 | 65 64 46 6f 6e 74 5b 34 |turn Sav|edFont[4|
|00000660| 5d 3b 0d 0a 0d 0a 09 53 | 61 76 65 64 57 69 64 74 |];.....S|avedWidt|
|00000670| 68 5b 34 5d 20 3d 20 57 | 69 64 74 68 3b 0d 0a 09 |h[4] = W|idth;...|
|00000680| 53 61 76 65 64 46 6f 6e | 74 5b 34 5d 20 3d 20 47 |SavedFon|t[4] = G|
|00000690| 65 74 53 74 61 74 69 63 | 4d 65 64 69 75 6d 46 6f |etStatic|MediumFo|
|000006a0| 6e 74 28 57 69 64 74 68 | 29 3b 0d 0a 09 72 65 74 |nt(Width|);...ret|
|000006b0| 75 72 6e 20 53 61 76 65 | 64 46 6f 6e 74 5b 34 5d |urn Save|dFont[4]|
|000006c0| 3b 0d 0a 7d 0d 0a 0d 0a | 73 74 61 74 69 63 20 66 |;..}....|static f|
|000006d0| 75 6e 63 74 69 6f 6e 20 | 66 6f 6e 74 20 47 65 74 |unction |font Get|
|000006e0| 53 74 61 74 69 63 4d 65 | 64 69 75 6d 46 6f 6e 74 |StaticMe|diumFont|
|000006f0| 28 66 6c 6f 61 74 20 57 | 69 64 74 68 29 0d 0a 7b |(float W|idth)..{|
|00000700| 0d 0a 09 69 66 20 28 57 | 69 64 74 68 20 3c 20 35 |...if (W|idth < 5|
|00000710| 31 32 29 0d 0a 09 09 72 | 65 74 75 72 6e 20 46 6f |12)....r|eturn Fo|
|00000720| 6e 74 27 53 6d 61 6c 6c | 46 6f 6e 74 27 3b 0d 0a |nt'Small|Font';..|
|00000730| 09 65 6c 73 65 20 69 66 | 20 28 57 69 64 74 68 20 |.else if| (Width |
|00000740| 3c 20 38 30 30 29 0d 0a | 09 09 72 65 74 75 72 6e |< 800)..|..return|
|00000750| 20 46 6f 6e 74 28 44 79 | 6e 61 6d 69 63 4c 6f 61 | Font(Dy|namicLoa|
|00000760| 64 4f 62 6a 65 63 74 28 | 22 4c 61 64 64 65 72 46 |dObject(|"LadderF|
|00000770| 6f 6e 74 73 2e 55 54 4c | 61 64 64 65 72 31 36 22 |onts.UTL|adder16"|
|00000780| 2c 20 63 6c 61 73 73 27 | 46 6f 6e 74 27 29 29 3b |, class'|Font'));|
|00000790| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 72 65 74 75 72 |...else.|...retur|
|000007a0| 6e 20 46 6f 6e 74 28 44 | 79 6e 61 6d 69 63 4c 6f |n Font(D|ynamicLo|
|000007b0| 61 64 4f 62 6a 65 63 74 | 28 22 4c 61 64 64 65 72 |adObject|("Ladder|
|000007c0| 46 6f 6e 74 73 2e 55 54 | 4c 61 64 64 65 72 32 32 |Fonts.UT|Ladder22|
|000007d0| 22 2c 20 63 6c 61 73 73 | 27 46 6f 6e 74 27 29 29 |", class|'Font'))|
|000007e0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000007f0| 20 66 6f 6e 74 20 47 65 | 74 53 6d 61 6c 6c 46 6f | font Ge|tSmallFo|
|00000800| 6e 74 28 66 6c 6f 61 74 | 20 57 69 64 74 68 29 0d |nt(float| Width).|
|00000810| 0a 7b 0d 0a 09 69 66 20 | 28 20 28 53 61 76 65 64 |.{...if |( (Saved|
|00000820| 46 6f 6e 74 5b 33 5d 20 | 21 3d 20 4e 6f 6e 65 29 |Font[3] |!= None)|
|00000830| 20 26 26 20 28 57 69 64 | 74 68 20 3d 3d 20 53 61 | && (Wid|th == Sa|
|00000840| 76 65 64 57 69 64 74 68 | 5b 33 5d 29 20 29 0d 0a |vedWidth|[3]) )..|
|00000850| 09 09 72 65 74 75 72 6e | 20 53 61 76 65 64 46 6f |..return| SavedFo|
|00000860| 6e 74 5b 33 5d 3b 0d 0a | 0d 0a 09 53 61 76 65 64 |nt[3];..|...Saved|
|00000870| 57 69 64 74 68 5b 33 5d | 20 3d 20 57 69 64 74 68 |Width[3]| = Width|
|00000880| 3b 0d 0a 09 53 61 76 65 | 64 46 6f 6e 74 5b 33 5d |;...Save|dFont[3]|
|00000890| 20 3d 20 47 65 74 53 74 | 61 74 69 63 53 6d 61 6c | = GetSt|aticSmal|
|000008a0| 6c 46 6f 6e 74 28 57 69 | 64 74 68 29 3b 0d 0a 09 |lFont(Wi|dth);...|
|000008b0| 72 65 74 75 72 6e 20 53 | 61 76 65 64 46 6f 6e 74 |return S|avedFont|
|000008c0| 5b 33 5d 3b 0d 0a 7d 0d | 0a 0d 0a 73 74 61 74 69 |[3];..}.|...stati|
|000008d0| 63 20 66 75 6e 63 74 69 | 6f 6e 20 66 6f 6e 74 20 |c functi|on font |
|000008e0| 47 65 74 53 74 61 74 69 | 63 53 6d 61 6c 6c 46 6f |GetStati|cSmallFo|
|000008f0| 6e 74 28 66 6c 6f 61 74 | 20 57 69 64 74 68 29 0d |nt(float| Width).|
|00000900| 0a 7b 0d 0a 09 69 66 20 | 28 57 69 64 74 68 20 3c |.{...if |(Width <|
|00000910| 20 36 34 30 29 0d 0a 09 | 09 72 65 74 75 72 6e 20 | 640)...|.return |
|00000920| 46 6f 6e 74 27 53 6d 61 | 6c 6c 46 6f 6e 74 27 3b |Font'Sma|llFont';|
|00000930| 0d 0a 09 65 6c 73 65 20 | 69 66 20 28 57 69 64 74 |...else |if (Widt|
|00000940| 68 20 3c 20 38 30 30 29 | 0d 0a 09 09 72 65 74 75 |h < 800)|....retu|
|00000950| 72 6e 20 46 6f 6e 74 28 | 44 79 6e 61 6d 69 63 4c |rn Font(|DynamicL|
|00000960| 6f 61 64 4f 62 6a 65 63 | 74 28 22 4c 61 64 64 65 |oadObjec|t("Ladde|
|00000970| 72 46 6f 6e 74 73 2e 55 | 54 4c 61 64 64 65 72 31 |rFonts.U|TLadder1|
|00000980| 30 22 2c 20 63 6c 61 73 | 73 27 46 6f 6e 74 27 29 |0", clas|s'Font')|
|00000990| 29 3b 0d 0a 09 65 6c 73 | 65 20 69 66 20 28 57 69 |);...els|e if (Wi|
|000009a0| 64 74 68 20 3c 20 31 30 | 32 34 29 0d 0a 09 09 72 |dth < 10|24)....r|
|000009b0| 65 74 75 72 6e 20 46 6f | 6e 74 28 44 79 6e 61 6d |eturn Fo|nt(Dynam|
|000009c0| 69 63 4c 6f 61 64 4f 62 | 6a 65 63 74 28 22 4c 61 |icLoadOb|ject("La|
|000009d0| 64 64 65 72 46 6f 6e 74 | 73 2e 55 54 4c 61 64 64 |dderFont|s.UTLadd|
|000009e0| 65 72 31 34 22 2c 20 63 | 6c 61 73 73 27 46 6f 6e |er14", c|lass'Fon|
|000009f0| 74 27 29 29 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 09 |t'));...|else....|
|00000a00| 72 65 74 75 72 6e 20 46 | 6f 6e 74 28 44 79 6e 61 |return F|ont(Dyna|
|00000a10| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 28 22 4c |micLoadO|bject("L|
|00000a20| 61 64 64 65 72 46 6f 6e | 74 73 2e 55 54 4c 61 64 |adderFon|ts.UTLad|
|00000a30| 64 65 72 31 36 22 2c 20 | 63 6c 61 73 73 27 46 6f |der16", |class'Fo|
|00000a40| 6e 74 27 29 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |nt'));..|}....fun|
|00000a50| 63 74 69 6f 6e 20 66 6f | 6e 74 20 47 65 74 53 6d |ction fo|nt GetSm|
|00000a60| 61 6c 6c 65 73 74 46 6f | 6e 74 28 66 6c 6f 61 74 |allestFo|nt(float|
|00000a70| 20 57 69 64 74 68 29 0d | 0a 7b 0d 0a 09 69 66 20 | Width).|.{...if |
|00000a80| 28 20 28 53 61 76 65 64 | 46 6f 6e 74 5b 32 5d 20 |( (Saved|Font[2] |
|00000a90| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 57 69 64 |!= None)| && (Wid|
|00000aa0| 74 68 20 3d 3d 20 53 61 | 76 65 64 57 69 64 74 68 |th == Sa|vedWidth|
|00000ab0| 5b 32 5d 29 20 29 0d 0a | 09 09 72 65 74 75 72 6e |[2]) )..|..return|
|00000ac0| 20 53 61 76 65 64 46 6f | 6e 74 5b 32 5d 3b 0d 0a | SavedFo|nt[2];..|
|00000ad0| 0d 0a 09 53 61 76 65 64 | 57 69 64 74 68 5b 32 5d |...Saved|Width[2]|
|00000ae0| 20 3d 20 57 69 64 74 68 | 3b 0d 0a 09 53 61 76 65 | = Width|;...Save|
|00000af0| 64 46 6f 6e 74 5b 32 5d | 20 3d 20 47 65 74 53 74 |dFont[2]| = GetSt|
|00000b00| 61 74 69 63 53 6d 61 6c | 6c 65 73 74 46 6f 6e 74 |aticSmal|lestFont|
|00000b10| 28 57 69 64 74 68 29 3b | 0d 0a 09 72 65 74 75 72 |(Width);|...retur|
|00000b20| 6e 20 53 61 76 65 64 46 | 6f 6e 74 5b 32 5d 3b 0d |n SavedF|ont[2];.|
|00000b30| 0a 7d 0d 0a 0d 0a 73 74 | 61 74 69 63 20 66 75 6e |.}....st|atic fun|
|00000b40| 63 74 69 6f 6e 20 66 6f | 6e 74 20 47 65 74 53 74 |ction fo|nt GetSt|
|00000b50| 61 74 69 63 53 6d 61 6c | 6c 65 73 74 46 6f 6e 74 |aticSmal|lestFont|
|00000b60| 28 66 6c 6f 61 74 20 57 | 69 64 74 68 29 0d 0a 7b |(float W|idth)..{|
|00000b70| 0d 0a 09 69 66 20 28 57 | 69 64 74 68 20 3c 20 36 |...if (W|idth < 6|
|00000b80| 34 30 29 0d 0a 09 09 72 | 65 74 75 72 6e 20 46 6f |40)....r|eturn Fo|
|00000b90| 6e 74 27 53 6d 61 6c 6c | 46 6f 6e 74 27 3b 0d 0a |nt'Small|Font';..|
|00000ba0| 09 65 6c 73 65 20 69 66 | 20 28 57 69 64 74 68 20 |.else if| (Width |
|00000bb0| 3c 20 38 30 30 29 0d 0a | 09 09 72 65 74 75 72 6e |< 800)..|..return|
|00000bc0| 20 46 6f 6e 74 28 44 79 | 6e 61 6d 69 63 4c 6f 61 | Font(Dy|namicLoa|
|00000bd0| 64 4f 62 6a 65 63 74 28 | 22 4c 61 64 64 65 72 46 |dObject(|"LadderF|
|00000be0| 6f 6e 74 73 2e 55 54 4c | 61 64 64 65 72 31 30 22 |onts.UTL|adder10"|
|00000bf0| 2c 20 63 6c 61 73 73 27 | 46 6f 6e 74 27 29 29 3b |, class'|Font'));|
|00000c00| 0d 0a 09 65 6c 73 65 20 | 69 66 20 28 57 69 64 74 |...else |if (Widt|
|00000c10| 68 20 3c 20 31 30 32 34 | 29 0d 0a 09 09 72 65 74 |h < 1024|)....ret|
|00000c20| 75 72 6e 20 46 6f 6e 74 | 28 44 79 6e 61 6d 69 63 |urn Font|(Dynamic|
|00000c30| 4c 6f 61 64 4f 62 6a 65 | 63 74 28 22 4c 61 64 64 |LoadObje|ct("Ladd|
|00000c40| 65 72 46 6f 6e 74 73 2e | 55 54 4c 61 64 64 65 72 |erFonts.|UTLadder|
|00000c50| 31 32 22 2c 20 63 6c 61 | 73 73 27 46 6f 6e 74 27 |12", cla|ss'Font'|
|00000c60| 29 29 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 72 65 |));...el|se....re|
|00000c70| 74 75 72 6e 20 46 6f 6e | 74 28 44 79 6e 61 6d 69 |turn Fon|t(Dynami|
|00000c80| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 22 4c 61 64 |cLoadObj|ect("Lad|
|00000c90| 64 65 72 46 6f 6e 74 73 | 2e 55 54 4c 61 64 64 65 |derFonts|.UTLadde|
|00000ca0| 72 31 34 22 2c 20 63 6c | 61 73 73 27 46 6f 6e 74 |r14", cl|ass'Font|
|00000cb0| 27 29 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |'));..}.|...funct|
|00000cc0| 69 6f 6e 20 66 6f 6e 74 | 20 47 65 74 41 52 65 61 |ion font| GetARea|
|00000cd0| 6c 6c 79 53 6d 61 6c 6c | 46 6f 6e 74 28 66 6c 6f |llySmall|Font(flo|
|00000ce0| 61 74 20 57 69 64 74 68 | 29 0d 0a 7b 0d 0a 09 69 |at Width|)..{...i|
|00000cf0| 66 20 28 20 28 53 61 76 | 65 64 46 6f 6e 74 5b 31 |f ( (Sav|edFont[1|
|00000d00| 5d 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 28 57 |] != Non|e) && (W|
|00000d10| 69 64 74 68 20 3d 3d 20 | 53 61 76 65 64 57 69 64 |idth == |SavedWid|
|00000d20| 74 68 5b 31 5d 29 20 29 | 0d 0a 09 09 72 65 74 75 |th[1]) )|....retu|
|00000d30| 72 6e 20 53 61 76 65 64 | 46 6f 6e 74 5b 31 5d 3b |rn Saved|Font[1];|
|00000d40| 0d 0a 0d 0a 09 53 61 76 | 65 64 57 69 64 74 68 5b |.....Sav|edWidth[|
|00000d50| 31 5d 20 3d 20 57 69 64 | 74 68 3b 0d 0a 09 53 61 |1] = Wid|th;...Sa|
|00000d60| 76 65 64 46 6f 6e 74 5b | 31 5d 20 3d 20 47 65 74 |vedFont[|1] = Get|
|00000d70| 53 74 61 74 69 63 41 52 | 65 61 6c 6c 79 53 6d 61 |StaticAR|eallySma|
|00000d80| 6c 6c 46 6f 6e 74 28 57 | 69 64 74 68 29 3b 0d 0a |llFont(W|idth);..|
|00000d90| 09 72 65 74 75 72 6e 20 | 53 61 76 65 64 46 6f 6e |.return |SavedFon|
|00000da0| 74 5b 31 5d 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |t[1];..}|....stat|
|00000db0| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 6e 74 |ic funct|ion font|
|00000dc0| 20 47 65 74 53 74 61 74 | 69 63 41 52 65 61 6c 6c | GetStat|icAReall|
|00000dd0| 79 53 6d 61 6c 6c 46 6f | 6e 74 28 66 6c 6f 61 74 |ySmallFo|nt(float|
|00000de0| 20 57 69 64 74 68 29 0d | 0a 7b 0d 0a 09 69 66 20 | Width).|.{...if |
|00000df0| 28 57 69 64 74 68 20 3c | 20 38 30 30 29 0d 0a 09 |(Width <| 800)...|
|00000e00| 09 72 65 74 75 72 6e 20 | 46 6f 6e 74 27 53 6d 61 |.return |Font'Sma|
|00000e10| 6c 6c 46 6f 6e 74 27 3b | 0d 0a 09 65 6c 73 65 20 |llFont';|...else |
|00000e20| 69 66 20 28 57 69 64 74 | 68 20 3c 20 31 30 32 34 |if (Widt|h < 1024|
|00000e30| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 6f 6e 74 |)....ret|urn Font|
|00000e40| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|00000e50| 63 74 28 22 4c 61 64 64 | 65 72 46 6f 6e 74 73 2e |ct("Ladd|erFonts.|
|00000e60| 55 54 4c 61 64 64 65 72 | 38 22 2c 20 63 6c 61 73 |UTLadder|8", clas|
|00000e70| 73 27 46 6f 6e 74 27 29 | 29 3b 0d 0a 09 65 6c 73 |s'Font')|);...els|
|00000e80| 65 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 6f 6e 74 |e....ret|urn Font|
|00000e90| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|00000ea0| 63 74 28 22 4c 61 64 64 | 65 72 46 6f 6e 74 73 2e |ct("Ladd|erFonts.|
|00000eb0| 55 54 4c 61 64 64 65 72 | 31 30 22 2c 20 63 6c 61 |UTLadder|10", cla|
|00000ec0| 73 73 27 46 6f 6e 74 27 | 29 29 3b 0d 0a 7d 0d 0a |ss'Font'|));..}..|
|00000ed0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 66 6f 6e 74 20 |..functi|on font |
|00000ee0| 47 65 74 41 43 6f 6d 70 | 6c 65 74 65 6c 79 55 6e |GetAComp|letelyUn|
|00000ef0| 72 65 61 64 61 62 6c 65 | 46 6f 6e 74 28 66 6c 6f |readable|Font(flo|
|00000f00| 61 74 20 57 69 64 74 68 | 29 0d 0a 7b 0d 0a 09 69 |at Width|)..{...i|
|00000f10| 66 20 28 20 28 53 61 76 | 65 64 46 6f 6e 74 5b 30 |f ( (Sav|edFont[0|
|00000f20| 5d 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 28 57 |] != Non|e) && (W|
|00000f30| 69 64 74 68 20 3d 3d 20 | 53 61 76 65 64 57 69 64 |idth == |SavedWid|
|00000f40| 74 68 5b 30 5d 29 20 29 | 0d 0a 09 09 72 65 74 75 |th[0]) )|....retu|
|00000f50| 72 6e 20 53 61 76 65 64 | 46 6f 6e 74 5b 30 5d 3b |rn Saved|Font[0];|
|00000f60| 0d 0a 0d 0a 09 53 61 76 | 65 64 57 69 64 74 68 5b |.....Sav|edWidth[|
|00000f70| 30 5d 20 3d 20 57 69 64 | 74 68 3b 0d 0a 09 53 61 |0] = Wid|th;...Sa|
|00000f80| 76 65 64 46 6f 6e 74 5b | 30 5d 20 3d 20 47 65 74 |vedFont[|0] = Get|
|00000f90| 53 74 61 74 69 63 41 43 | 6f 6d 70 6c 65 74 65 6c |StaticAC|ompletel|
|00000fa0| 79 55 6e 72 65 61 64 61 | 62 6c 65 46 6f 6e 74 28 |yUnreada|bleFont(|
|00000fb0| 57 69 64 74 68 29 3b 0d | 0a 09 72 65 74 75 72 6e |Width);.|..return|
|00000fc0| 20 53 61 76 65 64 46 6f | 6e 74 5b 30 5d 3b 0d 0a | SavedFo|nt[0];..|
|00000fd0| 7d 0d 0a 0d 0a 73 74 61 | 74 69 63 20 66 75 6e 63 |}....sta|tic func|
|00000fe0| 74 69 6f 6e 20 66 6f 6e | 74 20 47 65 74 53 74 61 |tion fon|t GetSta|
|00000ff0| 74 69 63 41 43 6f 6d 70 | 6c 65 74 65 6c 79 55 6e |ticAComp|letelyUn|
|00001000| 72 65 61 64 61 62 6c 65 | 46 6f 6e 74 28 66 6c 6f |readable|Font(flo|
|00001010| 61 74 20 57 69 64 74 68 | 29 0d 0a 7b 0d 0a 09 69 |at Width|)..{...i|
|00001020| 66 20 28 57 69 64 74 68 | 20 3c 20 38 30 30 29 0d |f (Width| < 800).|
|00001030| 0a 09 09 72 65 74 75 72 | 6e 20 46 6f 6e 74 27 53 |...retur|n Font'S|
|00001040| 6d 61 6c 6c 46 6f 6e 74 | 27 3b 0d 0a 09 65 6c 73 |mallFont|';...els|
|00001050| 65 0d 0a 09 09 72 65 74 | 75 72 6e 20 46 6f 6e 74 |e....ret|urn Font|
|00001060| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|00001070| 63 74 28 22 4c 61 64 64 | 65 72 46 6f 6e 74 73 2e |ct("Ladd|erFonts.|
|00001080| 55 54 4c 61 64 64 65 72 | 38 22 2c 20 63 6c 61 73 |UTLadder|8", clas|
|00001090| 73 27 46 6f 6e 74 27 29 | 29 3b 0d 0a 7d 0d 0a 00 |s'Font')|);..}...|
+--------+-------------------------+-------------------------+--------+--------+